package com.applet.orderdetail.service;

import com.applet.entity.OrderDetail;
import com.applet.entity.ShoppingCart;

import java.util.List;

/**
 * 订单详细 service
 */
public interface OrderDetailService {


    /**
     * 订单明细 新增订单明细数据
     */
    void addOrderDetailList(List<ShoppingCart> shoppingCartList, Long orderId);


    /**
     * 订单明细 根据订单id查询明细列表
     */
    List<OrderDetail> selectOrderDetailListByOrderId(Long orderId);
}
